import { Component } from "react";
import { ThemeConsumer } from "../Context"
export default class ConsumerPage extends Component {
  render() {
    console.log(this.props)
    return (
      <div>
        <h3>ConsumerPage</h3>
        <ThemeConsumer>
          {context => <div className={ context.themeColor}>sumer</div> }
        </ThemeConsumer>
      </div>
    )
  }
 }